<template>
    <div>
        <div :key="index" v-for="(user, index) in users">
            <p>{{ user.name }}</p>
            <p>{{ index }}</p>
        </div>
    </div>
</template>

<script>
export default {
  name: 'Test',
  data () {
    return {
      users: [
        {name: 'cjy', age: 20},
        {name: 'cyj', age: 19},
        {name: 'jcy', age: 18},
        {name: 'YS', age: 20},
        {name: 'YS,Tow', age: 20}
      ]
    }
  }
}
</script>

<style scoped>

</style>
